<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />


<s:set name="lang" var="lang" value="'application'" />
<s:if test="%{#session.WW_TRANS_I18N_LOCALE != null}">
	<s:set var="lang"
		value="'application_' + #session.WW_TRANS_I18N_LOCALE" />
</s:if>

<s:i18n name="%{lang}">
	<s:form action="#" validate="true" method="post"
		theme="simple" name="form">

		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>
					<div class="blue-text16" style="margin: 0px 0px 0px 0px">
						Electronic transfer
					</div>
					<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
					<div style="margin: 0px 0px 12px 0px">
						<table valign="middle" align="center" cellpadding="0"
							cellspacing="0" width="100%">
							<tbody>
								<tr>
									<td align="center" bgcolor="#ffffff">

										<input name="Lang" value="en" type="hidden">
										<input name="User_ID" value="test" type="hidden">
										<input name="action" value="Process_Bank_Account_Payment"
											type="hidden">

										<table border="0" cellpadding="0" cellspacing="0" width="600">
											<tbody>
												<tr>
													<td colspan="2" align="left" valign="middle">
														<p align="justify" class="common-text">
															Deposit funds to your account quickly and easily. Your
															payment amount will be reflected in your account directly
															under your payment activity and your balance will be
															increased also by same amount.
															<br>
													  </p>
													</td>
												</tr>
												<tr>
													<td align="right" class="search-text">
														Amount:													</td>
													<td>
														<s:textfield name="amount" value="%{user.currentBalance}" cssClass="textfield"></s:textfield>
														<span class="common-bold-text"><s:property value="#attr.generalOptions.defaultCurrency" /></span>													</td>
												</tr>
												<tr>
													<td align="right" class="search-text">
														Bank account:													</td>
													<td>
														<s:select list="useraccounts" name="defaultBankId"
															value="%{accountId}" listKey="accountId"
															cssClass="textfiled" listValue="bankAccountNumber"
															theme="simple"></s:select>
													</td>
												</tr>
												<tr>
													<td colspan="2" align="left">
														<p align="justify" class="common-text">
															Please click only once and wait the authorization process
															to finish. This process may take up to 2 minutes. Please
															be patient.														</p>
													</td>
												</tr>

											</tbody>
										</table>

									</td>
								</tr>
							</tbody>
						</table>
						<table cellpadding="0" cellspacing="0" align="center">
							<tbody>
								<tr>
								  <td align="center">
								  	<table border="0" cellspacing="0" cellpadding="0">
							                  	<tr>
							                    	<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
							                      	<td class="btn-grey-middle1 "><input value="Process payment" type="submit" class="submit-btn-common" /></td>
							                      <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
							                    </tr>
							                  </table>
								  </td>
								  <td align="center">
								  	<table border="0" cellspacing="0" cellpadding="0">
							                  	<tr>
							                    	<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
							                      	<td class="btn-grey-middle1 "><input value="Reset" type="reset" class="submit-btn-common" /></td>
							                      <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
							                    </tr>
							                  </table>
								  </td>
 								  <td align="center">
									<table border="0" cellspacing="0" cellpadding="0">
							                  	<tr>
							                    	<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
							                      	<td class="btn-grey-middle1 "><input onclick="history.go(-1)" value="Cancel" type="button" class="submit-btn-common" /></td>
							                      <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
							                    </tr>
							                  </table>
									</td>
								</tr>

							</tbody>
						</table>
					</div>
				</td>
			</tr>
		</table>
	</s:form>
</s:i18n>